package day05;

public class ForDemo {
    public static void main(String[] args) {
        int sum=0;
        for(int i=0;i<=100;i++){
            sum=sum+i;
        }
        System.out.println("最后的结果为"+sum);
    }
}
